@import "@/styles/variables";
.button {
  padding: 9px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;

  transition: 0.2s ease;
  border-radius: 6px;
  cursor: pointer;

  &:disabled {
    opacity: 0.4;
  }
}

.button_fullwidth {
  width: 100%;
}

.button_small {
  font-size: 14px;
  padding: 8px 16px;
}

.button_primary {
  min-height: 36px;
  background: $color-btn;
  border: 1px solid $color-btn;
  color: #fff;

  &:hover:not(:disabled) {
    box-shadow: 0 10px 20px rgba(41, 130, 234, 0.25);
  }
}

.button_red {
  background: var(--clr-red);
  border: 1px solid var(--clr-red);
  color: #fff;

  &:hover:not(:disabled) {
    box-shadow: 0 10px 20px rgba(245, 53, 61, 0.2);
  }
}

.button_stroke {
  color: $color-contrast;
  background: $color-bg-secondary;

  &:hover:not(:disabled) {
    box-shadow: 0 4px 8px rgba(41, 130, 234, 0.25);
    background: $color-primary;
    color: #fff;
  }
}

.button_redstroke {
  border: 1px solid var(--clr-red);
  color: var(--clr-red);

  &:hover:not(:disabled) {
    background: var(--clr-red);
    box-shadow: 0 10px 20px rgba(245, 53, 61, 0.2);
    color: #fff;
  }
}

.button_util {
  border: 1px solid var(--clr-secondary);
  color: var(--clr-secondary);

  &:hover:not(:disabled) {
    border: 1px solid $color-primary;
    color: $color-primary;
  }
}

.button_plus {
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;

  border-radius: 50%;
  background: $color-primary;
  color: #fff;

  &:hover:not(:disabled) {
    box-shadow: 0 10px 20px rgba(41, 130, 234, 0.25);
  }
}
